//
// Created by Administrator on 2021/3/1.
//

#ifndef GTK_CACULATOR_OPERATION_H
#define GTK_CACULATOR_OPERATION_H
typedef struct {
  double left;
  double right;
  double (*operator)(double, double);
} Operation;

double OperationApply(Operation *operation);

double Plus(double left, double right);
double Minus(double left, double right);
double Multiply(double left, double right);
double Divide(double left, double right);

#endif //GTK_CACULATOR_OPERATION_H
